<template>
	<view class="unit-button" :style="'width:'+width+'upx;background:'+bg">
		<slot></slot>
	</view>
</template>

<script>
	export default{
		props:{
			width : {},
			height : {},
			bg:{}
		},
		mounted() {
		},
		methods:{
		}
	}
</script>

<style>
	.unit-button {
		/* text-align: center; */
		box-sizing: border-box;
		/* padding-left: 35%; */
		width: 90%;
		height: 97upx;
		line-height: 100upx;
		color: #fff;
text-align: center;
		background: #000000;
		margin: auto;
		border-radius: 4upx;
		box-shadow: 6upx 6upx 20upx rgba(26,26,26,0.6);
	}
</style>
